import Mock from 'mockjs'

Mock.mock(`${window.$mockApi}/Configuration/GetSystemSettings`, "post", () => {
    let back = {}
    back = {
        "result":{
            "systemName": "C-admin网站后台管理系统",
            "pageSize": 10
        },
        "targetUrl":null,
        "success":true,
        "error":null
    }
    return back
})

Mock.mock(`${window.$mockApi}/Configuration/SetSystemSettings`, "post", () => {
  let back = {}
  back = {
      "result":{
          "systemName": "C-admin后台管理系统",
          "pageSize": 10
      },
      "targetUrl":null,
      "success":true,
      "error":null
  }
  return back
})

export default Mock
